import Vue from 'vue'
import App from './App'
import tui from './common/httpRequest'
import store from './store'
Vue.config.productionTip = false

App.mpType = 'app'

Vue.prototype.tui = tui
Vue.prototype.$eventHub = Vue.prototype.$eventHub || new Vue()

//把vuex定义成全局组件
Vue.prototype.$store = store

const app = new Vue({
    ...App,
		// 挂载
		store
})
app.$mount()
